package com.sm.imlibrary.roondao;


import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.sm.imlibrary.roondao.dao.*;
import com.sm.imlibrary.roondao.entity.DbChatImage;
import com.sm.imlibrary.roondao.entity.DbChatMessage;
import com.sm.imlibrary.roondao.entity.DbChatText;
import com.sm.imlibrary.roondao.entity.DbUserInfo;

/**
 * created by zhud on 2019/9/30
 */
@Database(
        entities = {
                DbUserInfo.class
                , DbChatImage.class
                , DbChatMessage.class
                , DbChatText.class},
        version = 1, exportSchema = false)
public abstract class AppDatabase extends RoomDatabase {
    public abstract ChatImageDao chatImageDao();

    public abstract ChatMessageDao chatMessageDao();

    public abstract ChatTextDao chatTextDao();

    public abstract UserInfoDao userInfoDao();
}
